package com.multi.common.core.domain.entity;

import com.multi.common.annotation.Excel;
import com.multi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;

/**
 * 后台租户对象 bk_tenant_info
 *
 * @author pzj
 * @date 2024-11-11
 */
public class BkTenantInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 租户名称
     */
    @Excel(name = "租户名称")
    private String tenantName;

    /**
     * 租户头像
     */
    @Excel(name = "租户头像")
    private String tenantAvatar;

    /**
     * 租户电话
     */
    @Excel(name = "租户电话")
    private String tenantTel;

    /**
     * 租户管理者
     */
    @Excel(name = "租户管理者")
    private String tenantLeader;

    /**
     * 租户AppID
     */
    @Excel(name = "租户AppID")
    private String tenantAppid;

    /**
     * 租户AppSecret
     */
    @Excel(name = "租户AppSecret")
    private String tenantAppsecret;

    /**
     * 租户类型
     */
    @Excel(name = "租户类型")
    private String tenantType;

    /**
     * 租户地址
     */
    @Excel(name = "租户地址")
    private String tenantAddress;

    /**
     * 租户经度
     */
    @Excel(name = "租户经度")
    private Long tenantLongitude;

    /**
     * 租户维度
     */
    @Excel(name = "租户维度")
    private Long tenantLatitude;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private Integer status;

    /**
     * 删除标记
     */
    private Long isDel;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setTenantName(String tenantName) {
        this.tenantName = tenantName;
    }

    public String getTenantName() {
        return tenantName;
    }

    public void setTenantAvatar(String tenantAvatar) {
        this.tenantAvatar = tenantAvatar;
    }

    public String getTenantAvatar() {
        return tenantAvatar;
    }

    public void setTenantTel(String tenantTel) {
        this.tenantTel = tenantTel;
    }

    public String getTenantTel() {
        return tenantTel;
    }

    public void setTenantLeader(String tenantLeader) {
        this.tenantLeader = tenantLeader;
    }

    public String getTenantLeader() {
        return tenantLeader;
    }

    public void setTenantAppid(String tenantAppid) {
        this.tenantAppid = tenantAppid;
    }

    public String getTenantAppid() {
        return tenantAppid;
    }

    public void setTenantAppsecret(String tenantAppsecret) {
        this.tenantAppsecret = tenantAppsecret;
    }

    public String getTenantAppsecret() {
        return tenantAppsecret;
    }

    public void setTenantType(String tenantType) {
        this.tenantType = tenantType;
    }

    public String getTenantType() {
        return tenantType;
    }

    public void setTenantAddress(String tenantAddress) {
        this.tenantAddress = tenantAddress;
    }

    public String getTenantAddress() {
        return tenantAddress;
    }

    public void setTenantLongitude(Long tenantLongitude) {
        this.tenantLongitude = tenantLongitude;
    }

    public Long getTenantLongitude() {
        return tenantLongitude;
    }

    public void setTenantLatitude(Long tenantLatitude) {
        this.tenantLatitude = tenantLatitude;
    }

    public Long getTenantLatitude() {
        return tenantLatitude;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public void setIsDel(Long isDel) {
        this.isDel = isDel;
    }

    public Long getIsDel() {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("tenantName", getTenantName())
                .append("tenantAvatar", getTenantAvatar())
                .append("tenantTel", getTenantTel())
                .append("tenantLeader", getTenantLeader())
                .append("tenantAppid", getTenantAppid())
                .append("tenantAppsecret", getTenantAppsecret())
                .append("tenantType", getTenantType())
                .append("tenantAddress", getTenantAddress())
                .append("tenantLongitude", getTenantLongitude())
                .append("tenantLatitude", getTenantLatitude())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("isDel", getIsDel())
                .toString();
    }
}
